documentation description: Mention the various properties and the
authorMurray Cumming <murrayc@murrayc.com>
Thu, 15 Jan 2009 16:53:27 +0000 (16:53 +0000)
committerMurray Cumming <murrayc@src.gnome.org>
Thu, 15 Jan 2009 16:53:27 +0000 (16:53 +0000)
2009-01-15  Murray Cumming  <murrayc@murrayc.com>

* gtk/gtkimcontext.c: documentation description: Mention the various
properties and the environment variable, with links to their
 documentation.
* gtk/gtksettings.c:
* gtk/gtktextview.c: Make the im-module property documentation more
expansive.

svn path=/trunk/; revision=22123

ChangeLog
gtk/gtkentry.c
gtk/gtkimcontext.c
gtk/gtksettings.c
gtk/gtktextview.c

index 3ec12a736700a90d954c573ea4b28b8eb74fdc74..4b68cb4a65883633d289a777d3991e195c7b3042 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-01-15  Murray Cumming  <murrayc@murrayc.com>
+
+       * gtk/gtkimcontext.c: documentation description: Mention the various 
+       properties and the environment variable, with links to their 
+       documentation.
+       * gtk/gtksettings.c:
+       * gtk/gtktextview.c: Make the im-module property documentation more 
+       expansive.
+
 2009-01-15  Diego Escalante Urrelo  <diegoe@gnome.org>
 
        Bug 562701 – GtkEntryCompletion popup sizes its rows wrong
index c8c14e6534f24c77a5140a0abf2e370a84c37224..a5f84c4fa81701f1b3921dec3b49097d7ac8dd99 100644 (file)
@@ -1089,10 +1089,12 @@ gtk_entry_class_init (GtkEntryClass *class)
   /**
    * GtkEntry:im-module:
    *
-   * Which IM module should be used for this entry.
+   * Which IM (input method) module should be used for this entry. 
+   * See #GtkIMContext.
    * 
    * Setting this to a non-%NULL value overrides the
-   * system-wide IM module setting. See #GtkSettings:gtk-im-module
+   * system-wide IM module setting. See the GtkSettings 
+   * #GtkSettings:gtk-im-module property.
    *
    * Since: 2.16
    */  
index 3887d4a58ef4b4042f7c1b4014cb67a26a1e5677..16ef87157afdb52963dcacc733a858ad8bec8b1d 100644 (file)
  * is used by GTK+ text input widgets like #GtkEntry to map from key events to
  * Unicode character strings.
  *
+ * The user may change the current input method via a context menu, unless the   
+ * #GtkSettings:gtk-show-input-method-menu GtkSettings property is set to FALSE. 
+ * The default input method can be set programmatically via the 
+ * #GtkSettings:gtk-im-module GtkSettings property. Alternatively, you may set 
+ * the GTK_IM_MODULE environment variable as documented in #gtk-running.
+ *
+ * The #GtkEntry #GtkEntry:im-module and #GtkTextView #GtkTextView:im-module 
+ * properties may also be used to set input methods for specific widget 
+ * instances. For instance, a certain entry widget might be expected to contain 
+ * certain characters which would be easier to input with a certain input 
+ * method.
+ *
  * An input method may consume multiple key events in sequence and finally
  * output the composed result. This is called preediting, and an input method
  * may provide feedback about this process by displaying the intermediate
index 1ec5ade207b300148caa60e888a7044aa8a86e20..b89957ddecd4f4ef9bc8be12ef70a3f1609dbf86 100644 (file)
@@ -834,7 +834,11 @@ gtk_settings_class_init (GtkSettingsClass *class)
   /**
    * GtkSettings:gtk-im-module:
    *
-   * Which IM module should be used by default.
+   * Which IM (input method) module should be used by default. This is the 
+   * input method that will be used if the user has not explicitly chosen 
+   * another input method from the IM context menu.  
+   *
+   * See #GtkIMContext and see the #GtkSettings:gtk-show-input-method-menu property.
    */
   result = settings_install_property_parser (class,
                                             g_param_spec_string ("gtk-im-module",
index 959721f53c48e92859d93b04a560447e42ee186a..11d04904ba98fa7c79517aa7f3ca399b65b7aa58 100644 (file)
@@ -666,10 +666,12 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    /**
     * GtkTextView:im-module:
     *
-    * Which IM module should be used for this widget.
+    * Which IM (input method) module should be used for this entry. 
+    * See #GtkIMContext.
     *
     * Setting this to a non-%NULL value overrides the
-    * system-wide IM module setting. See #GtkSettings:gtk-im-module
+    * system-wide IM module setting. See the GtkSettings 
+    * #GtkSettings:gtk-im-module property.
     *
     * Since: 2.16
     */